<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>076-布局-浮动元素的排列规则.html</title>
	<style>
		*{
			margin: 0;
			padding: 0;
		}
		.box1{
			width: 50px;
			height: 50px;
			background-color: red;
			float: left;
		}
		.box2{
			width: 80px;
			height: 80px;
			background-color: yellow;
			float: left;
		}
		.box3{
			width: 100px;
			height: 100px;
			background-color: blue;
			/*float: right;*/
		}
		.box4{
			width: 130px;
			height: 130px;
			background-color: gold;
			/*float: right;*/
			/*float: left;*/
		}
	</style>
</head>
<body>
	<div class="box1">1</div>
	<div class="box2">2</div>
	<div class="box3">3</div>
	<div class="box4">4</div>
</body>
</html>